#pragma once

#include "ReaderThread.h"
#include <iostream>
#include <string>
#include "FreetypeWrapper.h"
using namespace std;

namespace android {
class ProductWatermark : public ReaderThread {
public:
    ProductWatermark(WatermarkManager* manager, BufferQueue<WMarkBuffer>* queue);
    ~ProductWatermark();

    virtual int recvMsg(WMarkBuffer* buf);
private:
    string getWatermarktext();
    FreetypeWrapper *mFtype = nullptr;
    void formatDateTime(time_t seconds, char* buffer, int bufferLength);
};

} //namespace

